//
//  ViewController.m
//  27-BlockTest-PlayButton
//
//  Created by Snow on 16/8/19.
//  Copyright © 2016年 Snow. All rights reserved.
//

#import "ViewController.h"
#import "PlayView.h"
@interface ViewController ()
@property (weak, nonatomic) IBOutlet PlayView *playView;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
//    self.image.image = [UIImage imageNamed:@"20151004164622_AdNY2"];
    [self.playView play:^(UIButton *play) {
        NSLog(@"播放");

    } pause:^(UIButton *pause) {
        NSLog(@"暂停");
        
    } last:^(UIButton *last) {
        NSLog(@"上一曲");

    } next:^(UIButton *next) {
        NSLog(@"下一曲");

    }];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
